//
// Created by liushuai on 2020/10/26.
//
#include "tools/include/linklist_utils.h"
void print_linklist(ListNode *head) {
  ListNode *current = head;
  while (current != nullptr) {
    std::cout << current->val << " ";
    current = current->next;
  }
}
